﻿namespace il2lua.TypeSystem;

public class ILParam : Role, IParam
{

    public ILParam(int index, string? name, IMethod parent, ObjectKind kind)
        : base(name, parent, kind)
    {
        Index = index;
    }

    public int Index { get; }

    public override string ToString()
    {
        return $"{Parent}::{Name}";
    }
}
